package com.example.dormitorysystem.mapper;

import com.example.dormitorysystem.entity.StudentInfo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author 吉吉王国组
 * @since 2022-11-26
 */
public interface StudentInfoMapper extends BaseMapper<StudentInfo> {


    @Select("select * from student_info where uid = #{uid}")
    StudentInfo selectByUid(@Param("uid") Integer uid);
}
